package org.millioncall.yueyoga.admin.service.impl;

import java.util.Map;

import org.millioncall.yueyoga.admin.dao.PlacementTestDAO;
import org.millioncall.yueyoga.admin.service.TestPlaceMentService;

public class TestPlaceMentImpl implements TestPlaceMentService {
	private PlacementTestDAO placementtestDAO;

	public PlacementTestDAO getPlacementtestDAO() {
		return placementtestDAO;
	}

	public void setPlacementtestDAO(PlacementTestDAO placementtestDAO) {
		this.placementtestDAO = placementtestDAO;
	}

	@Override
	public boolean addPlaceMent(Map<String, Object> map) {
		int i = placementtestDAO.addPlaceMent(map);
		if (i > 0) {
			return true;
		} else {
			return false;
		}
	}

}
